package log;

import config.Config;

public class Log {
	
	/**
	 * Log information on standard output
	 * @param tag A tag to identify where this log comes from
	 * @param message message to log 
	 */
	public static void i(String tag, String message){
		if(Config.DEBUG)
			System.out.println("LOG INFO - " + tag + " : " + message);
	}
	
	/**
	 * Log information on standard error
	 * @param tag A tag to identify where this log comes from
	 * @param message message to log 
	 */
	public static void e(String tag, String message){
		if(Config.DEBUG)
			System.err.println("LOG ERROR - " + tag + " : " + message);
	}
	
}
